Namespaces

Types

Type IAnyPart<T>

Namespace FluentNHibernate.Mapping

Interfaces IMappingPart, IAccessStrategy<T>

Methods

Properties

Public instance methods

IAnyPart<T> AddMetaValue<TModel>(string valueMap)

This is used to map specific class types to value types stored in the EntityTypeColumn This method should only be called if the MetaType specified for this ANY mapping is a basic data type (such as string)
Parameters
return IAnyPart<T>
string valueMap The string or character representing the value stored in the EntityTypeColumn in the table

IAnyPart<T> EntityIdentifierColumn(string columnName)

(REQUIRED) Specifies the column name that will hold the identifier
Parameters
return IAnyPart<T>
string columnName

IAnyPart<T> EntityTypeColumn(string columnName)

(REQUIRED) Specifies the column name that will contain the type of the associated entity
Parameters
return IAnyPart<T>
string columnName

IAnyPart<T> IdentityType(Expression<Func<T, object>> expression)

Parameters
return IAnyPart<T>
Expression<Func<T, object>> expression

Public properties

CascadeExpression<PARENTPART> Cascade get;

Sets the cascade of this part. Valid options are "none", "all", and "save-update"
return CascadeExpression<PARENTPART>